package com.lost.octopus.es.processor.scheduler.entity;

import lombok.Data;

import java.util.List;

/**
 * 分片处理结果
 * @author zhangbh
 * @date 2025/4/24 10:18
 */
@Data
public class BurstResult<ID> {

    /**
     * 处理总数
     */
    private int totalCount;
    /**
     * 有效数据的id
     */
    private List<ID> ids;

    public BurstResult(int totalCount, List<ID> ids) {
        this.totalCount = totalCount;
        this.ids = ids;
    }
}
